<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="jquery-1.11.3.min.js"></script>
    <title>Document</title>
</head>
<body>
    <div class="write"></div>
    <div class="inner"></div>
    <script>
    // document.write和innerHtml区别
//     1. document.write进行内容输出时，会重绘整个页面;
// 2. innerHTML在内容输出时，可以重绘页面的某-部分。

           $(".write").write="div";
           $(".inner").innerHtml="34566";
    </script>
</body>
</html>